/**
 * 
 */
package com.ermax.aircond.common.schedule;

import javax.annotation.Resource;

import org.apache.log4j.Logger;

import com.ermax.aircond.manage.service.ScheduleControlService;

/**
 * @author Eric
 *
 */
public class RunMachineCommandScheduleService {

	private static final Logger logger = Logger.getLogger(RunMachineCommandScheduleService.class);
	
	@Resource(name = "scheduleControlService")
	private ScheduleControlService scheduleControlService;
	
	public void scheduleTask() {
		
		logger.info("Get Schedule Job Starts!");
		scheduleControlService.runScheduleJob();
	}
	
}
